<header>
    <nav>
        <ul>
            <li {{if $data['active']=='index'}}class="index"{{/if}}><a href="/user_center">首页</a></li>
            <li {{if $data['active']=='purchase'}}class="index"{{/if}}><a href="/user_center/purchase_list">采购管理</a></li>
            <li {{if $data['active']=='supply'}}class="index"{{/if}}><a href="/user_center/supply_list">供应管理</a></li>
            <!--<li {{if $data['active']=='transaction'}}class="index"{{/if}}><a href="/user_center/transaction_index">交易管理</a></li>-->
            <!--<li {{if $data['active']=='customer'}}class="index"{{/if}}><a href="/user_center/customer_index">客户服务</a></li>-->
            <li {{if $data['active']=='member'}}class="index"{{/if}}><a href="/user_center/member_index">用户管理</a></li>
        </ul>
    </nav>
</header>